package com.edu.whty.entity.comment;

import java.io.Serializable;
import java.util.Date;

/**
 * 评论、回复实体
 * @author zhujg
 *
 */
public class TbComments implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String  id;//id                 VARCHAR2(36 CHAR) not null,
	private String  userId;//user_id            VARCHAR2(36 CHAR) not null,
	private String  businessId;//business_id        VARCHAR2(32 CHAR) not null,
	private String  businessType;//business_type      VARCHAR2(1) default 1 not null,
	private String  content;//content            VARCHAR2(140 CHAR),
	private String  account;//account            VARCHAR2(36 CHAR),
	private String  realName;//real_name          VARCHAR2(32 CHAR),
	private String  workspaceUrl;//workspace_url      VARCHAR2(232 CHAR),
	private String  imgUrl;//img_url            VARCHAR2(232 CHAR),
	private String  type;//type               VARCHAR2(1) default 1 not null,
	private String  platformCode;//platform_code      VARCHAR2(8 CHAR) not null,
	private String  parentId;//parent_id          VARCHAR2(36 CHAR) not null,
	private String  replyedUserId;//replyed_user_id    VARCHAR2(36 CHAR),
	private String  replyedPlatformCode;
	private String  replyedWorkspaceUrl;//被评论或回复的作者的访问空间
	private String  replyedRealName;//replyed_real_name  VARCHAR2(32 CHAR),
	private String  replyedCommentId;//replyed_comment_id VARCHAR2(36 CHAR),
	private Date  createTime;//create_time        DATE,
	private Date  updateTime;//update_time        DATE,
	private String  status;// 0有效，1无效
	private String loginPlatformCode;//作者登录平台编码
	private String replyedLoginPlatformCode;//被回复者登录平台编码
	private String  businessSubId;//
	private String  businessSubType;//
	  
	private Integer score;//评分，非数据库字段
	private Integer nextCount;//下级评论数

	public String getBusinessSubId() {
		return businessSubId;
	}

	public void setBusinessSubId(String businessSubId) {
		this.businessSubId = businessSubId;
	}

	public String getBusinessSubType() {
		return businessSubType;
	}

	public void setBusinessSubType(String businessSubType) {
		this.businessSubType = businessSubType;
	}

	public String getLoginPlatformCode() {
		return loginPlatformCode;
	}

	public void setLoginPlatformCode(String loginPlatformCode) {
		this.loginPlatformCode = loginPlatformCode;
	}

	public String getReplyedLoginPlatformCode() {
		return replyedLoginPlatformCode;
	}

	public void setReplyedLoginPlatformCode(String replyedLoginPlatformCode) {
		this.replyedLoginPlatformCode = replyedLoginPlatformCode;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getWorkspaceUrl() {
		return workspaceUrl;
	}

	public void setWorkspaceUrl(String workspaceUrl) {
		this.workspaceUrl = workspaceUrl;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPlatformCode() {
		return platformCode;
	}

	public void setPlatformCode(String platformCode) {
		this.platformCode = platformCode;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getReplyedUserId() {
		return replyedUserId;
	}

	public void setReplyedUserId(String replyedUserId) {
		this.replyedUserId = replyedUserId;
	}

	public String getReplyedRealName() {
		return replyedRealName;
	}

	public void setReplyedRealName(String replyedRealName) {
		this.replyedRealName = replyedRealName;
	}

	public String getReplyedCommentId() {
		return replyedCommentId;
	}

	public void setReplyedCommentId(String replyedCommentId) {
		this.replyedCommentId = replyedCommentId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getReplyedPlatformCode() {
		return replyedPlatformCode;
	}

	public void setReplyedPlatformCode(String replyedPlatformCode) {
		this.replyedPlatformCode = replyedPlatformCode;
	}

	public String getReplyedWorkspaceUrl() {
		return replyedWorkspaceUrl;
	}

	public void setReplyedWorkspaceUrl(String replyedWorkspaceUrl) {
		this.replyedWorkspaceUrl = replyedWorkspaceUrl;
	}

	public Integer getNextCount() {
		return nextCount;
	}

	public void setNextCount(Integer nextCount) {
		this.nextCount = nextCount;
	}
	

}
